function getBigVideoHtml(index) {
	return	'<div class="video-frame-headline">\n' + 
			'	<h1 id="watch-headline-title">\n' +
			'		'+videosInfo[index].host+': '+videosInfo[index].topic+'\n' +
			'	</h1>\n' +
			'</div>\n' +
			'<div class="video-main-frame">\n' +
			'	<iframe class="video-main-frame-params" src="http://www.youtube.com/embed/'+videosInfo[index].id+'" allowfullscreen></iframe>\n' +
			'	<p>'+videosInfo[index].description+'</p>\n' +
			'</div>\n';
}

function getVideoThumbnailHtml(index) {
	return	'<div class="video-other-frame-element">\n' +
			'	<div class="video-other-frame-video-part">\n' +
			'		<a href="#" onclick="loadVideo('+index+');">\n' +
			'			<img class="video-other-frame-params" src="http://img.youtube.com/vi/'+videosInfo[index].id+'/2.jpg" alt="Load this video"\n' +
			'			onmouseover="tooltip.show(\''+videosInfo[index].description+'\');"\n' +
			'			onmouseout="tooltip.hide();" />\n' +
			'		</a>\n' +
			'	</div>\n' +
			'	<div class="video-other-frame-text-part">\n' +
			'		<p>'+videosInfo[index].host+'</p>\n' +
			'		<p1>'+videosInfo[index].topic+'</p1>\n' +
			'	</div>\n' +
			'</div>\n';
}

function loadVideo(index) {
	var newHTML = getBigVideoHtml(index);
	document.getElementById('main-video').innerHTML = newHTML;
	return false;
}